package school.dao;

import org.apache.ibatis.annotations.Param;
import school.entity.Subject;

import java.util.List;

public interface SubjectMapper {
    public List<Subject> findALL();
    public int add(Subject s);
    public int modify1(Subject s);
    public int modify(Subject s);
    public Subject modify(long id);
    public int del(long id);
    public List<Subject> paging(@Param("pageNo") int pageNo,@Param("pageSize") int pageSize);

}
